<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
    <!--属性绑定-->
    <a v-bind:href="url">超链接1</a>
    <!--省略掉v-bind 是简写-->
    <a :href="url">超链接2</a>
    <img :src="imgUrl" alt="">
    <input type="text":value="info">
</div>
<script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
<script>
    let v=new Vue({
        el:"div",
        data:{
            url:"http://www.baidu.com",
            imgUrl:"11.jpg",
            info:"文本内容"
        }
    })

    setTimeout(function (){
        v.url="http://www.youku.com"
        v.imgUrl="5.jpg"
        v.info="值改变了"
    },3000)

</script>
</body>
</html>